#ifndef DEF_H
#define DEF_H

//系统接口
#include "./api/base.h"
#include "./api/android.h"
#include "./api/graphics.h"
#include "./api/ex_math.h"
#include "./api/sound.h"
#include "./api/exb.h"

//游戏库
#include "./game/camera.h"
#include "./game/room.h"
#include "./game/sprite.h"
#include "./game/object.h"
#include "./game/objsen.h"

//工具库
#include "./tools/draw.h"
#include "./tools/res.h"
#include "./tools/fnt.h"

//UI库
#include "./sgui/view.h"

//版本号
#define  SGAME_VERSION  1

//特殊点
#define SW SCRW
#define SH SCRH
#define SX SW/2
#define SY SH/2

#define DEBUG 1

//取大值
extern int maxInt(int a,int b);
//取小值
extern int minInt(int a,int b);

#endif
